import { reactive, toRefs } from 'vue'

export function useDate() {
	const now = new Date()
	return reactive({
		year: now.getFullYear(),
		month: now.getMonth() + 1,
		date: now.getDate(),
		hours: now.getHours(),
		minutes: now.getMinutes(),
		seconds: now.getSeconds()
	})
}
